package org.example.myleet.p1588;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(58 == solution.sumOddLengthSubarrays(new int[]{1,4,2,5,3}));
        Assert.isTrue(3 == solution.sumOddLengthSubarrays(new int[]{1,2}));
        Assert.isTrue(66 == solution.sumOddLengthSubarrays(new int[]{10,11,12}));
        Assert.isTrue(183592 == solution.sumOddLengthSubarrays(new int[]{1,4,2,5,3,56,6,77,8,8,9,9,9,4,344,43,45,45,67,67,54,23,23,11,32,3,5,6,56,7,78,765,44,54}));
    }
}
